//
//  SMNavigationController.m
//  lishiminOC
//
//  Created by p2p on 16/10/10.
//  Copyright © 2016年 p2p. All rights reserved.
//

#import "SMNavigationController.h"


@interface SMNavigationController ()

@end

@implementation SMNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    
    if (self.viewControllers.count > 0) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}



@end
